<?php $this->load->view('shared/header');?>
<?php if(isset($message)):?>
	<p><?php echo $message; ?></p>
<?php endif; ?>
<?php 
	if(isset($errors)){
		echo '<ul>';
		foreach($errors as $e){
			echo "<li>{$e}</li>";
		}
		echo '</ul>';
	}
?>

<?php bound_form('user', 'users/add', array('legend'=>'Add a new user'), array('value'=>'Add') ); ?>
<?php $this->load->view('shared/footer');?>

